<!DOCTYPE html>
<html>
<head>
<style>
#target {
    background: url() center no-repeat;
    width: 32px;
    height: 32px;
    position: absolute;
    left: 0;
    top: 0;
}
</style>
<script>
if (window.testRunner) {
    if (window.localStorage.getItem("finish-during-reload") == null)
        testRunner.setImagesAllowed(false);
    testRunner.waitUntilDone();
}

function test() {
    if (window.localStorage.getItem("finish-during-reload") == null) {
        window.localStorage.setItem("finish-during-reload", "reload");
        testRunner.setImagesAllowed(true);
        internals.forceReload(false);
    } else {
        window.localStorage.clear();
        if (window.testRunner)
            testRunner.notifyDone();
    };
}
</script>
</head>
<body onload="setTimeout(test, 0);">
  <div id="target"></div>
</body>
</html>


